package com.cell.dao.order;

import com.cell.pojo.entity.order.Order;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author cloudJiang
 * @since 2022-06-04
 */
@Mapper
public interface OrderDao extends BaseMapper<Order> {
    /**
     * @param userId
     * @return
     */
    List<Order> selectstatesIdByuserid(Long userId);

    /**
     * 查找当前用户发布的订单
     *
     * @param userId
     * @return
     */
    List<Order> selectPostOrder(Long userId);

}
